<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
	<head>
		<html:base />
		<title>Illness Information</title>
		<link href="login.css" rel="stylesheet" type="text/css">
	</head>
  
	<body>
		<logic:notPresent name="info" scope="session">
			<logic:redirect page="/illegal_access.jsp"></logic:redirect>
		</logic:notPresent>
		<div class="container">
			<div class="header">
				<html:img page="/yssz.jpg"/>
				<div id="login">
					<logic:present name="admin" scope="session">
						<html:link action="encyclopedia">back</html:link>
					</logic:present>
			    	<html:link action="mainPre">main page</html:link>
			    	<logic:present name="search" scope="session">
						<html:link page="/form/search.jsp">back to search engine</html:link>
					</logic:present>
			    </div>
			</div>
			<div class="content">
		    	<h1><bean:write name="info" property="name" scope="session"/></h1>
		    	<p><bean:write name="info" property="content" scope="session"/></p>
	    	</div>
			<div class="footer">
				<p>copyright@yssz</p>
			</div>
		</div>
	</body>
</html:html>
